/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javabean;

/**
 *
 * @author aa
 */

public class CounterBean {
int count = 3; /* nilai awal properti */
/* method untuk mengambil nilai properti */
public int getCount() {
return count;
}
/* method untuk mengisi nilai properti */
public void setCount(int c) {
count = c;
}
/* method untuk menaikkan nilai properti */
public int increaseCount() {
count++;
return count;
}
}
